package com.xingkeduo.pojo.enums;

import com.xingkeduo.util.pojo.base.BaseEnum;

/**
 * @author pantong 
 * 职业属性标签
 **/
public enum CareerEnums implements BaseEnum {
	White_GoldCollar (1, "专业白/金领", ""),
	Freelancer(2, "自由职业者", ""),
    Student_JobApplicants(3, "学生/求职者", ""),
    Homeowners(4, "居家人士", ""),
    ALIPAY(14, "其它", "");

    private int id;

    private String name;
    
    private String remark;

    private CareerEnums(int id, String name, String remark) {
        this.id = id;
        this.name = name;
        this.remark = remark;
    }

    public static String getNameById(int id) {
    	for (CareerEnums s : CareerEnums.values())
            if(s.id==id){
                return s.name;
        }
    	return "";
    }
    
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public int getValue() {
		// TODO Auto-generated method stub
		return 0;
	}

    
}
